package it.unibz.easytravel.blogging;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class ResponseParser {

	public static String parseSessionId(String text) {
		Pattern p = Pattern.compile("Auth=(.*)");
		Matcher m = p.matcher(text);
		if (!m.find())
			return null;		
		return (m.group(1));
		
	}

}
